<%@ page import="java.util.Date" %>
<%@ page language="java" contentType="text/html; charset=windows-31j"
    pageEncoding="windows-31j"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-31j">
<title>Jsp page</title>
</head>
<body>
<h2>In jsp page</h2>
<h3>scriptlet</h3>
<%
	String str = new Date().toString();
	System.out.println(str);
	String type = request.getParameter("type");

	if(type == null) {
		System.out.println("null");
	} else if (type.length()==0) {
		System.out.println("length = 0");
	} else {
		System.out.println("type = " + type);
	}


%>

<h3></h3>
</body>
</html>